home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 15
- Top = 12
- Width = 611
- Height = 454
- ActiveControl = DirectoryListBox1
- Caption = 'Imagelib user'#39's example'
- Font.Color = clBlack
- Font.Height = -12
- Font.Name = 'Times New Roman'
- Font.Style = []
- Menu = MainMenu1
- PixelsPerInch = 96
- Position = poScreenCenter
- OnClose = FormClose
- OnCreate = FormCreate
- TextHeight = 15
- object MultiImage1: TMultiImage
- Left = 352
- Top = 56
- Width = 201
- Height = 129
- Cursor = crCross
- DragCursor = crSizeNS
- JPegDither = 4
- JPegResolution = 8
- JPegSaveQuality = 25
- JPegSaveSmooth = 5
- ImageName = 'file not found'
- OnClick = MultiImage1Click
- end
- object QualityLabel: TLabel
- Left = 511
- Top = 206
- Width = 57
- Height = 14
- Caption = 'Quality save'
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- end
- object SmoothLabel: TLabel
- Left = 512
- Top = 272
- Width = 59
- Height = 14
- Caption = 'Smooth save'
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- end
- object Label1: TLabel
- Left = 8
- Top = 11
- Width = 82
- Height = 15
- Caption = 'Source Directory'
- end
- object Label2: TLabel
- Left = 160
- Top = 12
- Width = 106
- Height = 15
- Caption = 'Destination Directory'
- end
- object Label3: TLabel
- Left = 384
- Top = 16
- Width = 145
- Height = 25
- Alignment = taCenter
- AutoSize = False
- Color = 12639424
- Font.Color = clBlack
- Font.Height = -19
- Font.Name = 'Times New Roman'
- Font.Style = [fsBold]
- ParentColor = False
- ParentFont = False
- end
- object DriveComboBox1: TDriveComboBox
- Left = 8
- Top = 381
- Width = 145
- Height = 21
- Color = clTeal
- Font.Color = clYellow
- Font.Height = -12
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- TabOrder = 0
- OnChange = DriveComboBox1Change
- end
- object DirectoryListBox1: TDirectoryListBox
- Left = 8
- Top = 268
- Width = 144
- Height = 110
- Color = 12639424
- ItemHeight = 16
- TabOrder = 1
- OnChange = DirectoryListBox1Change
- end
- object FileListBox1: TFileListBox
- Left = 8
- Top = 56
- Width = 145
- Height = 209
- Color = 12639424
- ItemHeight = 16
- Mask = '*.gif;*.jpg;*.pcx;*.bmp'
- MultiSelect = True
- ShowGlyphs = True
- TabOrder = 2
- OnChange = FileListBox1Change
- OnDblClick = FileListBox1Change
- end
- object Convert: TBitBtn
- Left = 515
- Top = 351
- Width = 81
- Height = 50
- Caption = '&Convert'
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- TabOrder = 3
- OnClick = ConvertClick
- Glyph.Data = {
- 78010000424D7801000000000000760000002800000020000000100000000100
- 04000000000000000000120B0000120B00000000000000000000000000000000
- 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
- FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
- 033333FFFF77777773F330000077777770333777773FFFFFF733077777000000
- 03337F3F3F777777733F0797A770003333007F737337773F3377077777778803
- 30807F333333337FF73707888887880007707F3FFFF333777F37070000878807
- 07807F777733337F7F3707888887880808807F333333337F7F37077777778800
- 08807F333FFF337773F7088800088803308073FF777FFF733737300008000033
- 33003777737777333377333080333333333333F7373333333333300803333333
- 33333773733333333333088033333333333373F7F33333333333308033333333
- 33333737333333333333330333333333333333733333333333330000}
- Layout = blGlyphTop
- NumGlyphs = 2
- Style = bsNew
- end
- object QualitySpin: TSpinEdit
- Left = 512
- Top = 223
- Width = 49
- Height = 24
- Hint = '0 to 100 for jpeg saving quality'
- AutoSize = False
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- MaxValue = 100
- MinValue = 0
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- TabOrder = 4
- Value = 25
- OnChange = QualitySpinChange
- end
- object Smoothspin: TSpinEdit
- Left = 512
- Top = 246
- Width = 49
- Height = 24
- Hint = '0 to 100 for jpeg smoothing quality'
- AutoSize = False
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- MaxValue = 100
- MinValue = 0
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- TabOrder = 5
- Value = 0
- OnChange = SmoothspinChange
- end
- object GroupBox1: TGroupBox
- Left = 191
- Top = 319
- Width = 126
- Height = 81
- Hint = 'Options for viewing only'
- Caption = 'JPeg display resolution'
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- TabOrder = 6
- object res4: TRadioButton
- Left = 8
- Top = 17
- Width = 105
- Height = 17
- Hint =
- 'Ideal with one pass dither to display images on a 16 color syste' +
- 'm'
- Caption = '4 bit (16 colors)'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 0
- OnClick = resClick
- end
- object res24: TRadioButton
- Left = 8
- Top = 61
- Width = 105
- Height = 17
- Caption = '24 bit (true color)'
- TabOrder = 1
- OnClick = resClick
- end
- object res8: TRadioButton
- Left = 8
- Top = 38
- Width = 105
- Height = 17
- Caption = '8 bit (256 colors)'
- Checked = True
- TabOrder = 2
- TabStop = True
- OnClick = resClick
- end
- end
- object GroupBox2: TGroupBox
- Left = 338
- Top = 319
- Width = 144
- Height = 81
- Hint = 'Options for viewing only'
- Caption = 'JPeg display dither'
- Font.Color = clNavy
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- ParentShowHint = False
- ShowHint = True
- TabOrder = 7
- object Label5: TLabel
- Left = 4
- Top = 16
- Width = 41
- Height = 14
- Caption = 'One pass'
- end
- object Label6: TLabel
- Left = 56
- Top = 16
- Width = 43
- Height = 14
- Caption = 'Two pass'
- end
- object Label7: TLabel
- Left = 115
- Top = 16
- Width = 25
- Height = 14
- Caption = 'None'
- end
- object DitherOneNo: TRadioButton
- Left = 8
- Top = 38
- Width = 40
- Height = 17
- Hint = 'One pass no dithering'
- Caption = 'No'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 0
- OnClick = DitherClick
- end
- object DitherOneYes: TRadioButton
- Left = 8
- Top = 60
- Width = 41
- Height = 17
- Hint = 'One pass with dithering'
- Caption = 'Yes'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 1
- OnClick = DitherClick
- end
- object DitherTwoNo: TRadioButton
- Left = 59
- Top = 39
- Width = 40
- Height = 17
- Hint = 'Two pass no dithering'
- Caption = 'No'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 2
- OnClick = DitherClick
- end
- object DitherTwoYes: TRadioButton
- Left = 59
- Top = 60
- Width = 40
- Height = 17
- Hint = 'Two pass FS dithering'
- Caption = 'Yes'
- Checked = True
- ParentShowHint = False
- ShowHint = True
- TabOrder = 3
- TabStop = True
- OnClick = DitherClick
- end
- object Dither24Bit: TRadioButton
- Left = 109
- Top = 39
- Width = 33
- Height = 17
- Hint = 'No dithering (24 bit)'
- Caption = '24'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 4
- OnClick = DitherClick
- end
- end
- object ComboBox1: TComboBox
- Left = 8
- Top = 32
- Width = 145
- Height = 22
- Color = clTeal
- DropDownCount = 15
- Font.Color = clYellow
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ItemHeight = 14
- Items.Strings = (
- '*.JPG'
- '*.GIF'
- '*.PCX'
- '*.BMP'
- '*.GIF;*.PCX'
- '*.GIF;*.BMP'
- '*.GIF;*.JPG'
- '*.PCX;*.BMP'
- '*.PCX;*.GIF'
- '*.PCX;*.JPG'
- '*.GIF;*.PCX;*.BMP'
- '*.JPG;*.GIF;*.PCX;'
- '*.JPG;*.GIF;*.PCX;*.BMP'
- '*.*')
- ParentFont = False
- TabOrder = 8
- Text = 'Select file type'
- OnChange = ComboBox1Change
- end
- object Sstretch: TCheckBox
- Left = 515
- Top = 322
- Width = 86
- Height = 17
- Caption = 'Stretch Image'
- Font.Color = clMaroon
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- TabOrder = 9
- OnClick = SstretchOnOff
- end
- object GroupBox3: TGroupBox
- Left = 357
- Top = 207
- Width = 153
- Height = 73
- Caption = 'Convert to'
- Font.Color = clPurple
- Font.Height = -12
- Font.Name = 'Times New Roman'
- Font.Style = []
- ParentFont = False
- TabOrder = 10
- object CTOJPEG: TRadioButton
- Left = 16
- Top = 20
- Width = 89
- Height = 17
- Caption = 'Jpeg Images'
- Checked = True
- TabOrder = 0
- TabStop = True
- end
- object CTOBMP: TRadioButton
- Left = 16
- Top = 48
- Width = 89
- Height = 17
- Caption = 'BMP Images'
- TabOrder = 1
- end
- end
- object FileListBox2: TFileListBox
- Left = 160
- Top = 32
- Width = 137
- Height = 125
- Color = clYellow
- ItemHeight = 15
- TabOrder = 11
- OnChange = FileListBox2Change
- OnDblClick = FileListBox2Change
- end
- object DirectoryListBox2: TDirectoryListBox
- Left = 160
- Top = 160
- Width = 137
- Height = 121
- Color = clYellow
- ItemHeight = 16
- TabOrder = 12
- OnChange = DirectoryListBox2Change
- end
- object DriveComboBox2: TDriveComboBox
- Left = 160
- Top = 283
- Width = 137
- Height = 21
- Color = clYellow
- TabOrder = 13
- OnChange = DriveComboBox2Change
- end
- object MainMenu1: TMainMenu
- Left = 576
- Top = 65535
- object N1: TMenuItem
- Caption = '&File'
- object E1: TMenuItem
- Caption = 'E&xit'
- OnClick = E1Click
- end
- end
- object A1: TMenuItem
- Caption = '&About'
- OnClick = A1Click
- end
- end
- end
-